package com.eddie.auction.controller;

import java.util.Arrays;
import java.util.Map;


import com.eddie.auction.entity.AuctionEntity;
import com.eddie.auction.service.AuctionService;
import com.eddie.auction.service.impl.AuctionServiceImpl;
import com.eddie.auction.vo.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * @author Eddie
 * @email 1739263410@qq.com
 * @date 2022-08-01 13:22:07
 */
public class AuctionController {
    private final AuctionService auctionService = new AuctionServiceImpl();

    public R list() {
        return R.ok().setData(auctionService.list());
    }
}
